package router

import (
	"context"
	"github.com/gogf/gf/v2/net/ghttp"
	"meta-self/internal/controller/api/pay"
)

// Api api路由
func Api(ctx context.Context, group *ghttp.RouterGroup) {
	group.Group("/api", func(group *ghttp.RouterGroup) {
		group.Group("/apy", func(group *ghttp.RouterGroup) {
			group.Bind(
				pay.NewV1(),
			)
		})
		//group.Middleware(service.Middleware().ApiAuth)
	})
}
